Fix handling of LF character in textio readline. Issue #37