HPCC-12762 Multi filenames using wildcards allocate large amounts of memory

Previous bug was hiding a second bug that caused prefix not to be applied.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Yes - there are references to pointers within the string after the setLength, which will fail if the setlength decides to relocate the string.