Adding writing to gzipped files.