Implement compressing\decompressing using zlib while reading\writing cnv gridfs stream