DiffWidget: Use fileName to get syntax definition
Using mimeType can give bad results in some situations. E.g., mimetype for a .ts file will be qt-linguist, but the file can be a typescript file and thus KSH will fail to give the correct definition. Using the file extension can give better results.