@myronmarston $TMPDIR appears to be the correct solution here, do you agree?