Your comments

Thanks. Meanwhile I found out that everything works as expected if I set up a connection to Dropbox from within Textastic. This renaming only seems to happen, when I open the file from the Dropbox app.