Fixes an issue when reading/modifying ini files that contain unicode characters