Fix 2 warnings in DirectoryFileSystem.cpp

Not all code paths returned a value.