changed lineSeparator back to \r\n until a fix is found