Better error message when C extension raises InvalidStringData, PYTHON-533