LPS-43773

Hey Hugo,

The issue is that previously, the temporary file would be named something like:

test.txt--TempRandomString--asdf

So the extension would be "txt--TempRandomString--asdf" instead of just "txt". Instead of stripping out the temporary random string when the file is added, I decided to modify the back end logic a bit so that the extension is still visible. I think that this is cleaner and avoids unnecessary checks when we're not doing a multi-upload. Let me know if you have any questions.

Thanks.