added chunkSize option to zlib options