Revert "use memory as temp store"

This reverts commit 0ab93131d4a6a7a07bad23895f5647975df361d2.
Prefix the command with one of
TMP=
TMPDIR=
TEMPDIR=

instead.