docs: function iniFileSet(file, section, key, value, options) {
    options = _.sanitize(options, {encoding: 'utf-8', retryOnENOENT: true});
    if (typeof key === 'object') {
      if (typeof value === 'object') {
        options = value;
      } else {
        options = {};
      }
    }
    if (!exists(file)) {
      touch(file, '', options);
    } else if (!isFile(file)) {
      throw new Error(`File ${file} is not a file`);
    }
    const config = ini.parse(read(file, {encoding: options.encoding}));
    if (!_.isEmpty(section)) {
      config[section] = config[section] || {};
      section = config[section];
    } else {
      section = config;
    }
    if (typeof key === 'string') {
      section[key] = value;
    } else {
      _.merge(section, key);
    }
    write(file, ini.stringify(config), options);
  }