Normalize EOL symbols in process output to match correctly to the expected output.