write out complete contigs to a separate file.