[python mode] Add MIME for Cython dialect