Clean up cache logging.
Fix archival of directories, update unit test.
Improve archive command logging.