Use new method for generating CSV to match Ruby 1.9.3