Unc path tolerant

It turns out that PathUtilities.GetDeviceNumber() also doesn't work on Linux for UNC paths.