Convert `String#lines` return value to array

In ruby 1.9, `String#lines` returns an Enumerator
(looks equivalent to `String#each_line`)