Correctly display the mimetype icon when the preview is not available

Fix #169