src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.ts/FileUserDataProfileContentHandler/saveProfile
class FileUserDataProfileContentHandler:	async saveProfile(name: string, content: string, token: CancellationToken): Promise<URI | null> {
		const profileLocation = await this.fileDialogService.showSaveDialog({
			title: localize('export profile dialog', "Save Profile"),
			filters: PROFILE_FILTER,
			defaultUri: this.uriIdentityService.extUri.joinPath(await this.fileDialogService.defaultFilePath(), `${name}.${PROFILE_EXTENSION}`),
		});
		if (!profileLocation) {
			return null;
		}
		await this.textFileService.create([{ resource: profileLocation, value: content, options: { overwrite: true } }]);
		return profileLocation;
	}