Revert "use after_fork hook instead of tempfile"; the approach before the revert had a race condition between the workers.

This reverts commit ce1dd76ffc5c9e1a4b9235f25174a381e1effd34.

Conflicts:

	t/06-wait-all-children-with-timeout.t