Use CSV's built in functionality. (ht: @yrb)