src/vs/workbench/services/dialogs/browser/simpleFileDialog.ts/SimpleFileDialog/tryAddTrailingSeparatorToDirectory
class SimpleFileDialog:	private tryAddTrailingSeparatorToDirectory(uri: URI, stat: IFileStatWithPartialMetadata): URI {
		if (stat.isDirectory) {
			// At this point we know it's a directory and can add the trailing path separator
			if (!this.endsWithSlash(uri.path)) {
				return resources.addTrailingPathSeparator(uri);
			}
		}
		return uri;
	}