make dpipes and scp work on Windows