Add support for gzip output.