FIX #1744: ignore the byte-order mark at the beginning of a file