Create folders for CSV imports/exports

This tends to fix bug in exporting to CSV