PerfMonComps: Change to worker directory during finalize in MP
Fix two problems related to multi-process running in the HLT (ATR-19462):
-
In athena, the framework ensures that CWD is set correctly for all child processes. This is not the case for the HLT. Since the PyPerfMonSvc relies on this, make sure to set CWD correctly during finalize of PerfMonSvc.
-
Fix a bug when
io_reinit
is being called in the parent process. In that case we do not need to perform and file migrations.
cc @amete