replace uninformative WindowsError, close #21