MODE-1874 - Fixed the resolving of relative/index paths when <local-file-index-storage/> is used. 

In addition, refactored some constants used for storing paths.