Fixed line numbering error when CSV file has a header