Best way to register a file format plugin for an app with nautilus's mime-handler etc.