Close file descriptors on exec of prolog, epilog, etc.