Replace \r\n with system property line.separator

Implementing change as suggested by vjuranek