fixes for schemas from upload failures, check download against csv.gz instead of csv