ERT-731 Fix unicode bug in save config file
Merge pull request #593 from iLoop2/ERT-731

ERT-731 Writing config file in GUI erases content