HPCC-11756 Rebuild persist if input persist is newer

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
As "$when" (and others?) are used in a few places, might be cleaner, if there were getWhenName(lfn) type helper functions to consistently create the compound name strings.