[SPOT-FIX] LPS-32987 Uploaded file in DDL remains the same even after being replaced with another file

Hi Eduardo,

fixing LPS-32983 is necessary to reproduce this issue.

Please review whether the changes won't break anything, so we can give the customer this fix.

Thanks,
Tamás