Add fs.readFile, fs.writeFile with tests
Use internal fs functions instead of public methods for readFile, writeFile.
Add test for invalid path to readFile.
Refactor duplicate flag checks
Merge pull request #6 from humphd/utf8

Add fs.readFile, fs.writeFile with tests