Create inferred relationship snapshot.
Correct tmp filename in diff script.