Added conversion for newline control character

Newline(&10;) and carriage return(&13;) characters are converted to system specific line separator.