Add writing output file for zlib decompression