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

Add code to keep logical filename.
Add regression test

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>