Stop leaving files open everywhere
Merge pull request #159 from metricfu/close_opened_io

Close io/files we opened but didn't close