hmmm, I just use a couple of 1/2" conduit clamps:
epoxied together and spray painted black:
works like a champ. Got in an accident last week on my bike. The only thing that didn't go flying everywhere (GPS, tail light, water bottle, etc. etc. etc.) was my P7 light attached with the conduit clamps.