deal with utf-8 bom.