consolidator enhancements: throw exception on delete failure, add working directory as argument

These are a couple of enhancements to the Consolidator.

1. At the end of the consolidator mapper I added a check on the delete of the source file and throw an exception if the delete fails.

2. The working directory for the consolidator was hard coded to "/tmp/consolidator". I added the ability to specify a different working directory.