HPCC-10482 - Associated files being deleted too early

Archiving is two stage, 1st create the archive and copies,
2nd delete and clearup. Some workunit states are supposed to
prevent the deletion and clearup, e.g. if the query is a scheduled
or a service. However, the archiving code due to an ancient
regression, was deleting associated workunit files too early.
[ For reference, bug introduced by:
https://trac.br.seisint.com/tracdb/changeset/33600 ]

Other problems have been masking the issue,
e.g. HPCC-2558 and HPCC-10255

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Rename deleteFilter to deleteExclusions

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #5214 from jakesmith/hpcc-10482

HPCC-10482 - Associated files being deleted too early

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>