You could fill the gap with wood, but if you're making the gun as a new one, matching the grain/color could be difficult. Twere it mine, I'd gas weld a bead along the tail of the lock wide enough to fill the gap, including lengthening the tit bit. Then file the weld to match the original lock shape, except now it's an extra 1/8" longer or so. Then re-inlet the tail of the lock into the mis-cut inlet. In the long run, it'll be easier to match the new metal to the original than it would be to mess with the wood.
John