add support for compressing output
add support for writing compressed output