Python Replace Token In String