Code

If the TMPDIR environment variable is set, use that instead of "/tmp" as