CPython: crash-safe copyfd() on win32.