patched to create containing hash-dir for moved files