finish CSV download