Fixes extension upload issue

It's now possible to upload projects containing files with extensions like .jpg.png or similar.