Explicitly close resource filehandles
Merge pull request #325 from gittip/close_fh

Explicitly close resource filehandles
Merge branch 'master' into issue314