IOError catching for csv_import