FilesystemQueryLoader: fix setting rootPath
FilesystemQueryLoader: fix setting rootPath

The rootPath must always be treated as directory. If makeDirectory()
is not called and the path is given as "path/dir" (without an ending
slash "/"), the last part "dir" would be dropped which is unexpected.

Fixes: ebe905a97ffb ("FilesystemQueryLoader: new class")
Signed-off-by: Jan Viktorin <3eab6ac54c005c4408f608556a6663b7f2abede7@fit.vutbr.cz>

BeeeOn/server,BeeeOn/server,BeeeOn/server,BeeeOn/server