Win32Exception fix for UNC path support