handle corrupt gzip data caused by missing input stream