CGZip, a C++ wrapper for gzip methods