Creating CSV files for download.

The csv files are being generated not sure if they will actually download in
a real browser. At this commit, testing was done only on w3m. The CSV was
printed to the screen successfully.