generalised ArchiveReports functions to output on any stream.