Initial look at directory caching.
Bugfixes for RootHandler.