Ensure temp files are cleaned up
Gzip the aggregated files