Log files added & modified by unzip process.

Extracted the logging logic into a (hopefully) reusable function that takes a script block to run. The target file structure is compared before and after the script block is run.