account for EOL sequence on windows