Properly close files during Scan(). Fixes #1.
Merge branch 'master' of https://github.com/wmvanvliet/Kalculator