Added getRootDirectory method on LocalStorage

This avoids doing require('../../../config.js).files to retrieve
the root directory for file storage.