Python String Replace Character At Index