add support for zipping output file