fs.readFileSync takes the encoding as 2nd argument, rather than an options object.