use TMPDIR to specify where the output goes, it can be quite large