A bug in string split() was fixed. A carriage return in the end of the last line was duplicated  after split().