cleanupFileCacheAndWriteResult(sUI5Tag, oResult) {
		fileContent.clearCache();

		const aSubTasks = [
			(callback) => {
				fs.mkdir(this._sOutputFolder, {recursive: true}, (err) => {
					callback(err);
				});
			},
			(callback) => {
				const sPath = resolve(join(this._sOutputFolder, sUI5Tag + ".json"));
				fs.writeFile(sPath, JSON.stringify(oResult, null, "\t"), (err) => {
					callback(err, sPath);
				});
			}
		];

		this._aTasks.push((callback) => {
			series(aSubTasks, (err, results) => {
				if (!err) {
					this.emit("localeJSONReady", results[1]);
				} else {
					this.emit("error", err);
				}
				callback(err, results[1]);
			});
		});
	}
Cleans the file content cache and adds tasks for creating the directory and writing the
the given <code>oResult</code> as JSON file for the given UI5 language tag.

@param {string} sUI5Tag
  The UI5 language tag, e.g. "en", "de_CH" or "sr_Latn"
@param {Object<string,any>} oResult
  The resulting CLDR object for the given language