store reference to archive error class on init
silence deprecation warnings and work around a swig wrapper bug