Hi Matthias,
This issue was fixed in version 2.3.1.9. It was a bug in 2.3.1.7 where if the uploaded image did not need to be resized it left this lingering tml file.
But that has been fixed. I'm confused because I thought you were using the latest version?
Best,
Joe