Fileclient throwing exceptions

In cases where where file_list_emptydirs() returned None, we'd throw an exception. This totally breaks the return output of things like cp.get_dir. This just catches the None and passes.
Merge pull request #8350 from cachedout/fileclient-emptydirs-fix

Fileclient throwing exceptions