Fix an error with :s and an empty replacement string.