HPCC-11603 Fix issue copying file on non-Thor groups

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>