Convert a use of sys::Path::GetTemporaryDirectory.