Record errors in a csv if that option is selected. Store the model path on the task, not the shard