title: fs writefile new line not working
body: <p>i want log my user command</p>
  
  <pre><code>function saveLog (nick, command) {
      var file = 'log/' + nick + '.log';
      var datetime = '[' + getDateTime() + '] ';
      var text = datetime + command + '\r\n';
      fs.writeFile(file, text, function (err) {
          if (err) return console.log(err);
          console.log(text);
      });
  }
  </code></pre>
  
  <p>the function i made is fine, but
  it didnt save the log in new line, its just replace text / rewrite the file.
  whats im missing ?</p>
  
  <p>thanks </p>