readdir support, added failing tests for exists
Tests fixed
Minor refactoring
Failing test for EISDIR when trying to write to a directory
Append file support
Some code dupes eliminated
Tests fixed
Merged