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>
Merge pull request #6777 from richardkchapman/multilfn-bug2

HPCC-12762 Multi filenames using wildcards allocate large amounts of memory

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Community Edition 5.0.4-rc8 Release Candidate 8

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge branch 'candidate-5.0.4' into candidate-5.0.6

Conflicts:
	version.cmake

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