Use `MIME::Types` to detect content type