Integrity-checks for dir-tree