Fix krandomtest on Windows
I am not sure why \n is problematic, I guess because \n is converted to \r\n and then when we read it, it is not \n, so just do @ instead of \n as end of stream marker
I am not sure why \n is problematic, I guess because \n is converted to \r\n and then when we read it, it is not \n, so just do @ instead of \n as end of stream marker