Export table as CSV.