While not exactly the same thing you described, the principle is the same.
On this one, I first put everything together (dry fit), and applied a thin coat of Vaseline where the ferrule meets the guard. It was applied with a cotton swap. Cleanup was relatively easy.
In this case I didn't wait for the Epoxy to completely harden before cleanup because I needed to be real gentle cleaning up around the fire blued guard. When it was fairly firm, but not fully hardened, I carefully pulled away the excess with a sharpened Popcicle stick. Use the sharpened stick to just get a piece lifted up, then peel the excess away. When peeling, pull to the side rather than straight up, so that you don't pull any out of the joint.
I've heard of folks using baby oil or paste wax as well. I was concerned about baby oil working its way into the joint, and opted for the thicker Vaseline. You don't have to heap it on there. You just need a thin coat to keep the Epoxy from sticking.
In the case of a fileworked ferrule or spacer, you can use a toothpick if you catch it before it fully hardens, or if it was too hard for that, carefully use a dental pick. If dental picks aren't part of your toolkit, you can sharpen a piece of brass or nickel pin stock and use that.
I'll bet there are some better tips out there and look forward to hearing them.