HPCC-10776 Spurious "Cannot write file" errors from Roxie

Previous fix was not quite correct.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>