Oh yeah - you squared out the hole, with a 3-sided file / rasp. Never mind that it's not square - THAT works out even better, as you'll see below here.
...to put in a carriage bolt:
...before you pulled it through
Then get a nut on it, and run the nut down to lock the square into the [out-of-perfect] square hole.