Optimize mimeType detection when no mimeType is specified
Don't redo mimeType detection when there's probably no mimeType available.
Make sure that attachmentCallback for items we are saving is always called before callback in Zotero.Translate.ItemSaver.saveItems