Export a mongo collection as csv

Started to create a script to do this, then realised mongoexport can do this out of the box!