Properly handle expected failures
Fixes Figshare archiver bugs