move global GetTempPath to PathResolve class