Switch to `MIME::Type.from_hash` as `from_array` will be deprecated.

Fixes #12