src/vs/workbench/services/dialogs/browser/simpleFileDialog.ts/SimpleFileDialog/tildaReplace
class SimpleFileDialog:	private tildaReplace(value: string): URI {
		const home = this.userHome;
		if ((value.length > 0) && (value[0] === '~')) {
			return resources.joinPath(home, value.substring(1));
		}
		return this.remoteUriFrom(value);
	}