Fixing gzip_bytes utility function