patch: report line number when failing due to a bad character from fasta file

I had a mostly good fasta file with a small error in one of the lines and it was driving me nuts trying to find the line number. This reports the line number causing failure.