fixes file paths for config files