HPCC-11309 - Ensure IDFUHelper cooperate with transactions

Ensure they release their locks before committing transaction.
Also move remove super file operation into transaction.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #6041 from jakesmith/hpcc-11309-for-4.2.6

Hpcc 11309 for 4.2.6

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>