Python: convert fasta to dict