chore(file): use a hook to fix detected mimetype

Moves mimetype detection logic for Microsoft zipped formats into a plugin hook as to avoid code duplication in file upload actions
What does it mean to "make use of available plugin hooks"? We don't have very good documentation on these for what that would entail. Maybe I'm just lost because I've never had this need or addressed this use-case.