Fixed issue #07989: Unable to upload PNG files in template editor
Dev: test with lowercase for extension