HPCC-10513 Fix missing persist dependencies for stored filenames

Possibly a regression caused by the fixes to the persist dependency
processing.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #5235 from ghalliday/issue10513

HPCC-10513 Fix missing persist dependencies for stored filenames

Reviewed-By: Jamie Noss <james.noss@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>