Actually made it use fs.appendFileSync instead of asynch version