fix decompression of indexless gzip files

@vanchi-zendesk @zenachaturvedi 

zlib requires some pretty crazy magic to init it.  what's the magic number "47"?  who the hell knows, but it works.