ENH: Use compression when writing output files