The master worker of an experiment saves the hdf5 file in the current working directory, so the trick we do isto just change that in the prepare phase and delete the originally created folders. It is what we are using to get rid of the hour folders. It is probably not the most nice method but it didn't cause any problems in the last two years. Just make sure that you run it in every experiment so you don't get inconsistent folders.
try:
hourdir = os.path.join("..", os.getcwd().split("/")[-1])
dirname = os.path.join("..","{:09}-{}".format(self.scheduler.rid, self.__class__.__name__))
os.makedirs(dirname, exist_ok=True)
os.chdir(dirname)
self.saveDir = os.getcwd()
try:
os.removedirs(hourdir)
except (FileNotFoundError, OSError):
pass
except AttributeError as e:
#is run as DummyDevice (for example when generating the dashboard)
pass