exportcsv: fix missing return statements