Fix pecl latest() - String is no longer Enumberable in Ruby 1.9

Fix works on both new/old versions of ruby