Multi-threaded gzip compression