Fix dependencies and adds utf8 in fs.readFileSync from Gruntfile.js.