Fixed #8149 -- Use universal line terminators when iterating `File` objects line-by-line.

Conflicts:
	tests/files/tests.py

Conflicts:
	tests/files/tests.py