Fix encoding parameter

`fs.readFile` 2nd parameter was an object with the property `encoding` while this methods expects just a string value.
Merge pull request #2 from pjvds/master

Fix encoding parameter.

Sorry for the delay merging this one