If working space permits, leave bolt long enough to file the threaded end square after the nut, washers and all are in place. Then, you can hold the bolt with a crescent wrench or vise-grips from the bottom.

Truck Tinker