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
Shouldn't we instead add this to core? That way it doesn't depend on someone having the file plugin enabled?