p_stat() resolves symlinks on win32