Fix uploading new file (stopped after all chunks)