close last file in split_fasta if open
sanity check seqs_per_file
added credit
Merge pull request #1229 from wasade/issue1121

Issue1121