Consider TMPDIR for temporary directory IRI