temporary dir created correctly with the TMPDIR env variable too