docs: function writePIDFile(pid, name) {
    var pidFilePath = pidDir + name + '.pid';
    exec('mkdir -p ' + pidDir, function(err, stdout, stderr) {
      if (err) {
        winston.error('[forewoman] Error creating the pids directory');
        winston.error(err.message);
      } else {
        fs.writeFileSync(pidFilePath, pid);
      }
    });
  }