Provide activate/deactivate functionality on Windows to match Unix

OK this should be a cleaner way to fix the Windows activate.bat/deactivate.bat to work properly.
You can just use `binpath[-1]` everywhere.