get errno before making any Python calls in _check_rc

why? Because I said so, that's why.

(I have no idea why, but Python 3.2 seems to need it)