Python Replace String Using Dictionary Esl