RFC: Change return type of str::replace to MaybeOwned to avoid a copy