fixes issue #275 change scope of gunzip and deflate

@rcrichton please review, this is an urgent fix for my recent merge of the gzip code. this fixes #275