Found the issue: don't handle imports in try blocks correctly
Fix import handling wrt exceptions

Also fix a bug where we were rewriting all member descriptors
as OBJECT types (ie just load the offset), which is what was making
hashlib crash (the first thing that uses non-OBJECT member types).