Call finishProcessingEntityDocuments() when finishing

This fixes a bug that prevented the respective EntityDocumentProcessor
method to be called, e.g., in DumpProcessingExample.