Fix config file path issues.