I'm not sure if you care about performance, but passing 'utf8' into the `readFileSync` function will prevent it from constructing a binary buffer first. (the painful part is that this API changed from Node 0.8 to 0.10 though).