Gzipped writing