Create csv on the fly

This was changed in 818b8333.  Why is it being reverted here?