Fix crash when creating new text file with no name
Fix crash when creating new text file with no name

(cherry picked from commit cdb29447b4da77bebc7adc944fe10ef7ea580ebf)

ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot