Improved behavior of sqchat_settings_update_file()