fix NameError when opening uncompressed file
Merge pull request #43 from emka/master

fix NameError when opening uncompressed file (issue #43)