expect the correct platform-dependent linesep