Suppress warning about IO#lines in Ruby 2.0

lib/cane/file.rb:10: warning: IO#lines is deprecated; use #each_line instead