Fix gzip encoding.