(bug 61231) use OSError as WindowsError does not exist on unix hosts

Change-Id: I8daea57bae5f296167956bd3f435ba2c93adff75