Thanks very much. I went ahead and tried this. The rivet is basically good, there's just too much play because the wire flares a bit at the nail head so, no matter how hard I hit it, the connector loop couldn't go down any further. There was space at the back to fit a tiny amount of epoxy in the gap between the connector loop and the nail head. It seems to have worked well. The connector loop is now epoxied to the wire and it doesn't move anymore.