Fix for XmlDocument.FromBinary