Not saving a file with broken encoding still adds it to the recently opened list
Steps to reproduce:
- Open a file with broken encoding
- Select "Save As…" and try to save file under different name
- Select "Don't Save" on the infobar
The result is that the file does not get created, but is still added to the recently opened list.