write intermediate output files to /tmp to speed to I/O.