Use platform independent tmp directory for tests.