Scrub out character with invalid encoding

I know the String#scrub method is new, so I check to make sure we're on a ruby that supports this... maybe someone else could chime in about a more compatible way to do this across versions.

Thanks!