Add write_contaminant_fasta and tests