Improvements to ResourceHandler

* use Path api for FileResourceManager
* add support for index files