improve documentation, mostly on ArchiveRecord.content_file; add unit tests for warc writing