Split By New Line Python String Replace Not Working