Bug 884985 - Fix race condition in TMPDIR creation during startup