Better error handling while parsing CSV files.