iotests.py: fix qemu_tool_pipe_and_status()