Pass the grunt.file.write options on to writeFileSync

I suspect this will make the options parameter work as originally intended.