Quick hack to output a .csv