nodejs, appending data to file, write file