Fix for formatting UTC date and date-times when writing out to XML.