Use "/tmp" if TMPDIR or TEMP is unavailable

Some distos don't set either of the two variables, as I just experienced.