Fixed processing of file lines for Ruby 1.9.3 and older