Fix configuration file reading.