Fix the setting of the mimetype, allowing non kra file export by python.
Differential Revision: https://phabricator.kde.org/D5427