change redialect test to use different endline

python 3 is being clever about \r\n