Add .py extension to script on windows

Multiprocessing requires the script to be importable on windows. Setuptools should rename it on other platforms. Add code to rename for distutils.