Support string in write_settings_file