Fixing relative/absolute paths to dictionaries