Update for Ruby 1.9 compatibility.

(No longer 1.8 compatible due to CSV API change.)