Quick fix for $TMPDIR being empty (so homedir got used)