/* We always replace an existing temporary file if there is one. */ open_flags |= O_CREAT|O_TRUNC;
So I think this can only be caused by clausing the Tor Browser abruptly at the exact time where the temp file existed but then it will get overwritten later on. The other possibility is that something went wrong with the rename() and then for some other reason the unlink() that we try to do on the temp file if the rename did fail. In that case, the log should have warnings.
@ric_sm, maybe you can open your Tor Browser in the console and look for those warnings?