Fixing a byte-compiler warning.

You're not supposed to use replace-string from lisp code.