Revert "windows.errors: make check-invalid-handle throw windows-error instances"
Revert "windows.errors: make check-invalid-handle throw windows-error instances"

This reverts commit 38ab7289b5db4bdc33b9a0ac76fa4c4daa6c092c.

AlexIljin/factor,factor/factor,bpollack/factor,AlexIljin/factor,mrjbq7/factor,tgunr/factor,factor/factor,tgunr/factor,bpollack/factor,tgunr/factor,AlexIljin/factor,factor/factor,mrjbq7/factor,factor/factor,AlexIljin/factor,mrjbq7/factor,AlexIljin/factor,AlexIljin/factor,mrjbq7/factor,bpollack/factor,bpollack/factor,bpollack/factor,factor/factor,tgunr/factor,factor/factor,tgunr/factor,tgunr/factor,mrjbq7/factor,bpollack/factor,mrjbq7/factor,AlexIljin/factor,bpollack/factor