* `ListDirectoryEntries` takes a pattern, not a prefix, thus to match a
prefix we have to include a wildcard character `*`
* In the prefix match implementations in leveldb and leveldb2, we should
continue instead of stop if the current entry does not match the
prefix.