A modified version of Fabian's DIN Rail Bracket to push some M3 threaded inserts into the holes. The holes are now 4mm wide and I added some material around one hole, so the inserts won't stick out.
The author remixed this model.
Modified to fit M3 threaded inserts