src/vs/workbench/services/dialogs/browser/simpleFileDialog.ts/SimpleFileDialog/remoteUriFrom
class SimpleFileDialog:	private remoteUriFrom(path: string): URI {
		if (!path.startsWith('\\\\')) {
			path = path.replace(/\\/g, '/');
		}
		const uri: URI = this.scheme === Schemas.file ? URI.file(path) : URI.from({ scheme: this.scheme, path });
		// If the default scheme is file, then we don't care about the remote authority
		const authority = uri.scheme === Schemas.file ? undefined : this.remoteAuthority;
		return resources.toLocalResource(uri, authority,
			// If there is a remote authority, then we should use the system's default URI as the local scheme.
			// If there is *no* remote authority, then we should use the default scheme for this dialog as that is already local.
			authority ? this.pathService.defaultUriScheme : uri.scheme);
	}