For some bizarre reason the same magic (BEGIN:VCALENDAR) is registered in diff-mimetypes.xml with TWO mimetypes: text/calendar and text/x-vcalendar. This is clearly wrong. The one-and-only type is the first one. The magic should be removed from the second.
done in rev2614