Hi, I use FileZilla for FTP and it is not causing it- it doesn't do this with any of the other dozens of websites I maintain. It's also not Cloudflare as I disabled it and Cloudflare can't write over files on your server anyway. It replaces my original files like this:
Brief example BEFORE...