HPCC-10142 queryLogicalFilename not supported on hthor (or Roxie)

Add code to keep logical filename.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
I'm not sure this works if any of the subfiles have more than one part