Check for a duplicate filename in upload. If there is one, pass a sha to update the file