Update ris2bib.py

string module is not recommended by the newer python, instead use .index method