The first step to keep hand pies from leaking is keeping the dough from shrinking. Keep it cold throughout the assembling process. Cutting vent holes and creating a firm seal around the edges will also prevent filling from leaking out. I use egg wash around the edges and then firmly press them together with a fork. It’s pretty and functional.