Write out to CSV as we go along.

As a side benefit we're not keeping two maps of 
the broken links in memory, just one for caching.
Merge pull request #5 from alphagov/write-csv-on-the-fly

Write out to CSV as we go along.