HPCC-11545 Use dirty flag for QueryFilesInUse cache

HPCC-11545 Use dirty flag for QueryFilesInUse cache

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>