Connector archive export: properly raise exception on failure