add support for xml with utf8 bom