I'd use new `fs.writeFile` API instead.