fasta: fix checksum

Closes #571.