python-ctypes: really accomodate new and old-style exception message getting method