Fix upload file completion handler when file already exists on server