Fix reading chunked gzip data.