Fix duplicate names in file uploads

It was not possible to upload different files with the same name
Print upload progress to console