Added description for gzip option.
Added gzip helper option.
few adjustments to #65.

* add gzipOptions to control compression
* make pipe logic more general for potential future compression formats.