Remove MIME type method

Implementation is not reliable enough (in particular, the MIME type database sometimes can be corrupt, yielding no result)