Edit book: Fix regression that caused an error when trying to edit files with no defined syntax, such as plain .txt files. Fixes #1318139 [Editor: Synatax-Highlighter error](https://bugs.launchpad.net/calibre/+bug/1318139)