Updated the ConfigWriter to remove extra encodings