move the opening of child logfiles into the child process.

Instead of using up fd's in main, and inheriting them on fork.
If we ran with a large -C, we'd eat up a lot of fd's in every
process because of this. Now we just have one logfile fd per child.