Fixes #1986. String#slice on multibyte chars raise Exception