save(project, data, release = undefined) {
		const filepath = path.join(config.projectPath, project, 'project.mlt');

		return new Promise((resolve, reject) => {
			fs.writeFile(filepath, (config.declareXML + data), (err) => {
				if (typeof release !== 'undefined') release();

				if (err) {
					log.error(`Unable to update file ${filepath}`);
					reject(err);
				}

				log.info(`File ${filepath} updated.`);
				resolve();
			});
		});
	}
Save string as MLT file for specified project and release lock (create new or overwrite existing)

@param {string} project
@param {string} data String without XML declaration and without doctype
@param {function} [release function (optional)
@return {Promise<any>}