Fixed error with saving config with russian symbols