(PUP-1029) Fix problem with Enumerator for String chars on Ruby 2.0.0

Ruby 2.0.0 does not return an Enumerator when calling String#chars,
instead an Array with the characters is returned.

Ruby 1.8.7 returns Enumerable::Enumerator, and 1.9.3 returns Enumerator.

Long live API stability !