Fixed bug : Cannot save a text file.