Wrapper for zlib that does decompression inside a sandbox