LPS-43773

Hey Hugo,

In regards to your previous comment, before my fix the file name looks like:

test.txt--TempRandomString--asdf

After my fix the file name looks like:

test--TempRandomString--asdf.txt

Moving the extension to the end allows it to pass the validation tests correctly.