Break dependency FileName -> ImageDB (Part 1/3)
Replace all uncontroversial usages of FileName::info() with calls to
ImageDB::info() or avoid the calls entirely if possible.
This dependency break has two advantages:
- FileName can be used without the ImageDB. -> This makes it easier to use ThumbnailCache in a standalone tool.
- The cost of the call is obvious.