Fix String#byteslice for Ruby 1.9.1, 1.9.2

String#[] cannot be replacement with String#byteslice in Ruby 1.9.1, 1.9.2 when string includes multibyte chars.