file/gzip: compensate for too-far lookahead