CSV exports

@Najaf I think this is safe, but would appreciate a second opinion.