Use /tmp if TMPDIR or TEMP is unavailable
Merge pull request #7 from Limes102/master

Use "/tmp" if TMPDIR or TEMP is unavailable