Replaced "/".join() by os.path.join()

in BaseQuery and EsoClass