xdg-rename-by-content: use xdg.Mime.get_extensions() if available