Fixed pipe test on Windows