export csv:  removing the trailing comma (a bug in codeignitor)