Improved listdir to handle unreadable directories. Fixes #9156.
Update logging
Merge pull request #719 from joshmoore/dropbox-listdir-9156

Fix DropBox on Linux (Fix #9156)