remove BOM only on 1st line when reading a CSV

fix coding style