Initial use of node-webkit FS API for IO

The readDirectory() method was implemented.