Improve resilience against errors on file listing
Improve resilience against errors on file listing

Closes #2294

Jaesin/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint