support gzipped intermediates