Adds a sterilize method to Ruby's Strings to ensure string is always encoded to valid UTF-8