Build staging hashes in shelf db for each backed up directory.