Update readline.js

After testing readline for reading long log files, it's been noticed that the last line was being ignored if the same didn't end with a new line character escape.