In use2to3, only use WindowsError in Windows

Fixes issue 3457.

Can someone test this on Windows (just make sure `use2to3` runs)?