Fix Issue 9599 - File.byLine doesn't function properly with take

!currently depends on byLine-ichar
!relying on getc for empty may be inefficient