Fix problem with parsing of CSV files