Don't let swh.loader.dir block on special files (block devices, fifos)
The directory loader currently blocks when it encounters a file that is not readable (for instance a fifo). It should probably consider such files empty and skip them.
Migrated from T255 (view on Phabricator)