src/vs/workbench/services/dialogs/browser/simpleFileDialog.ts/SimpleFileDialog/trimTrailingSlash
class SimpleFileDialog:	private trimTrailingSlash(path: string): string {
		return ((path.length > 1) && this.endsWithSlash(path)) ? path.substr(0, path.length - 1) : path;
	}