Add output handler class and make pruning of files work.

Added a class to abstract out direct access of System.Console from the
internals of the app.

Fix issue where encrypted files were not pruned if the unencrypted file
was removed.

Update version number and copyright year.