Fix bad config file opening.