HPCC-11515 Under-caching of dynamic filename resolution

Cache any dynamic file lookups until the end of the current graph.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>