node: fix signatures of readFile*
Merge pull request #1862 from loyd/node

node: fix signatures of readFile*