dom0: fix directory creation