bpo-31802: Fix importing native path module before importing os. (#4017)

5 files changed