Use temporary files to get child's std{out,err} instead of pipes.