Added readLine methods to TextStream.