String#scrub: raise for invalid replacements.

When a replacement has an invalid encoding an ArgumentError should be raised.
String#scrub: spec for invalid replacements.