Symbol ​ in the end of the file
Problem is actual for versions under 3.0
Open any file, for example vtl, for editing in admin screen, copy all content to local file.
Make some changes in local file (optionally).
If you copy this file to the server using webdav you will see white line in the bottom of page where this file is used.
If you are using any tool, for example WinWerge, you will see this

If you open and save this file using admin screen, this strange symbol dissapears.
so this works in 3.x you are saying?
Yes, I've tried to reproduce it on version 3.0.1 and it works. I reproduce it on version 2.5.4
Ya I thought so. I believe in the later 2.5 series this is fixed and is now working.