Fix directory deletion in ExtractReuters, recover from errors

Patch for LUCENE-6073.