Handles utf8 bom in headers