Fix E2 editor renaming

It added ".txt" to the end of the file name. If you just opened the rename dialog und clicked ok without changing anything, it added another extention (resulting in .txt.txt)