HPCC-10142 Support queryLogicalFilename on hthor

Minor improvement following code review

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