function saveToPath(path) {
            if (!path) {
                return Promise.reject();
            }

            return new Promise((resolve, reject) => {
                fs.writeFile(path, content, (err) => {
                    if (err) {
                        reject(err.message);
                    }
                    resolve();
                });
            });
        }
@override
@param {string} url
@param {string} content
@param {boolean} forceSaveAs