Support custom compression level

Support integer based compression levels for zlib, bz2, lzma