Update gem to be compatible with Ruby 2.0

As of Ruby 2.0, the bytes method returns an Array instead of an
Enumerator; as such, convert bytes to an enum in order to iterate.