Fix DropBox on Linux (Fix #9156) (rebased onto develop)



This is the same as gh-719 but rebased onto develop.

----

An OSError can be thrown under Linux if a directory
is not readable. We now return an empty list in that
case. This may need to be refactored to catch the
exception in omero code.