Fix issues with hashing the logfiles.
Fix stageout in the case of multiple output files.
Fix registration of log files.