Issue #373 by MuschPusch - Set correct TMP, TEMP, TMPDIR env variables on the fly in limited shell.