Qfs tool: fix -ls output by suppressing spurious trailing slashes.