Stop crashing when batch extracting invalid archives
When starting a --batch extraction job, the input can be any
kind of archive, even an unsupported one. So we need to discard invalid
archives before starting the job.
CCBUG: 370959
CCBUG: 370986