Use graceful-fs for util.file.write

`fs.writeFile` won't, it appears. This fixes https://github.com/tommy351/hexo-plugins/issues/13 for me.