Fixes CVE-2025-40909 - Clone dirhandles without fchdir

Source: Fedora 41: FEDORA-2025-f142899732 critical: perl directory race condition