Use common backend API for file icons
@alexl
Submitted by Alexander Larsson Assigned to gvf..@..e.bugs
Link to original bug (#509603)
Description
Most backends generate file icons via mimetypes. Right now each backend has this code duplicated (or not at all), it should be shared.