src/vs/platform/files/common/fileService.ts/FileService/resourceForError
class FileService:	private resourceForError(resource: URI): string {
		if (resource.scheme === Schemas.file) {
			return resource.fsPath;
		}

		return resource.toString(true);
	}