Python3 compatibility adjustments.

* Forgotten astra/astra_c.pyx
* Better type resolution with `six` and `isinstance`
* Removed unnecessary exception