- metadata csv is now written using opencsv
- append bugfix for metadata csv