Fix for SFR 455754 - invalid characters can be added to contactlist.xml, causing it to be deleted on startup.

Fix is to remove any characters that are prohibited by the XML 1.0 spec (http://www.w3.org/TR/xml/#charsets)
before writing data to XML files.