bom: strip leading BOM