Fix path creation for config file.