src/vs/platform/extensionManagement/common/extensionsScannerService.ts/CachedExtensionsScanner/writeExtensionCache
class CachedExtensionsScanner:	private async writeExtensionCache(cacheContents: IExtensionCacheData): Promise<void> {
		try {
			await this.fileService.writeFile(this.cacheFile, VSBuffer.fromString(JSON.stringify(cacheContents)));
		} catch (error) {
			this.logService.debug('Error while writing the extension cache file:', this.cacheFile.path, getErrorMessage(error));
		}
	}