a basic CSV export example

Unless otherwise specified, all code here is licensed GPLv2