changing keydb to store files 2 levels deep instead of 1 level deep