was getting an error in heroku, voodoo fix

      throw new Error('Unknown encoding');
            ^
buffer.js:440
    at Buffer.toString (buffer.js:440:13)
    at Object.fs.readFileSync (fs.js:236:33)