Don't use the zlib I/O routines for writing compressed files, either;