HPCC-9420 Pass Roxie directory settings to file copy function

In the fix for HPCC-8803, the roxie directory settings are read from configuration. But, the settings are not sent to DFU workunit. This fix adds the settings to DFU workunit. I also cleaned the existing code.