Fix reading directory, and verify path hashes
Implement mkdir
C++-ize a bunch of things
Catch exceptions in main, replace NULL with nullptr
Finish replacing NULL with nullptr
Clean up even if exception caught
Merge branch 'master' into coverity_scan