gzip support (phase 1)
use gzipped intermediate files