Close file descriptors before exec'ing collectors.

Without this we leak FD 3 to the children, which is typically used by
the logging library to hold a reference to the current file (which
will eventually get rotated and later possibly deleted).