no mkdir if environmental var TMPDIR is not defined