editing specific line in text file in python,"replace_line('stats.txt', 0, 'Mage')"