code: static Path uncCompatibleUriToPath(URI uri) {
  		String in = uri.toString();
  		Matcher m = UNC_URI_PATTERN.matcher(in);
  		if (m.find() && (m.group(1) != null || m.group(2) != null)) { // this is an UNC path!
  			String out = in.substring("file:".length()).replace('/', '\\');
  			return Paths.get(out);
  		} else {
  			return Paths.get(uri);
  		}
  	}
docs: visible for testing