[driver] clean in and out tool fds
[driver] clean in and out tool fds

This fixes using outdated fds when reusing on a later pass a tool which
got its input from stdin, but would now read it from command line passed
file.

k0gaMSX/scc,k0gaMSX/scc,k0gaMSX/scc