Fixing csv import error handling.