As a rather quick solution and possible permanent fix if the look suits you, you could get a piece of plastic PVC pipe just long enough and the approximate diameter of your handlebars, and just affix the plastic PVC pipe to the front of the basket, and mount the light on the PVC tube. If the basket is the wire type, you could slot the bottom of the pipe an it would slip right over the top of the basket and then the clamp for the light could run through the wire and around the light to secure it. This same thing could likely be accomplished with other types of baskets as long as there was a good support at the top of the basket. Just a thought for a quick and cheap possibility using the same light.