writeFileSync({ dir, name, data }) {
    const filePath = this.getFilePath({ dir, name, prefix: true });
    fs.writeFileSync(filePath, data);
  }
Write files synchronously
@param {object} conf - processing configuration
@param {string} conf.dir - File directory
@param {string} conf.name - File directory
@param {string} conf.buffer - Original file name
@public