Python Replace First Occurrence Of A String