strip BOM

add methoed to strip the UTF byte order mark (BOM) if it's there, as it breaks SAX parsing