Make std.file.tempDir @trusted

This pull request makes `std.file.tempDir` trusted.

Note:
It can be a safe function in POSIX systems but it cannot in Windows because of `GetTempPathW`.