IO#lines is deprecated
Merge pull request #1244 from alphagov/deprecation-warnings

IO#lines is deprecated