make `db.keys` recurse subdirectories to produce prefix based matches

Make `db.keys` emit matches, consuming any subdirectories to produce all keys that match the prefix.