fixes issue #275 change scope of gunzip and deflate
Merge pull request #276 from jembi/fix_scope

fixes issue #275 change scope of gunzip and deflate