Remove mimetype decisions

This PR removes decisions based on the mimetype, in favour of the actual type of the file (i.e its processor). 

We'll let detect override the extension of the original file in a different branch.

@SirCmpwn, ready to merge.