Sometimes, tempdir() is not what we want. On yeti, it is too small for some large processing tasks. Need more flexibility to define when needed.