Make Files.readlines encoding conditional for Ruby 1.8