file.kak now is responsible for mapping whatever mimetype file uses to the filetype that Kakoune uses. Fixes #975 Fixes #979