CSV writer works just fine now.  Only changed the raw input lines...

The csv works just fine now.