Make fork() work on Windows under Python 3

Use the same approach in `_fork_win32()` that was used in commit ee990fbc for `start_command()`.