catch some exceptions

- catch some bugs while guess and getting font-file-name
- catch an error if the file is not saved