Versioning and rewrite on upload
#3378: uploading more then one file crashed the app