o more fixes for setenvpf() corner cases o move tmpdir logic up so it is not executed unecessarily for every task. o add getenvp() call to setenvpf.c