Fixed an issue when creating an empty settings file.