Pass encoding as a string

Pass encoding to readFileSync as a string to maintain backwards
compatibility with node < v0.10.
Merge pull request #55 from RobbieClarken/readfilefix

Pass encoding to readFileSync as a string to maintain backwards compatibility