Merge fix for TRQ-1963 from 4.2.3 -TMPDIR env not set when using $tmpdir.