append to file with node.js