added cleanup mechanics to type hierarchy engine to close zip files properly (avoids file locking on windows)