Add open failures to the TargetOpen status save.

Add primary key to TargetIOpen