Python Replace Substring In List