Bash Sed Replace String In String Python