Brush the edges where the pastry will join with the beaten yolk. Put the remaining pastry over the top, and seal the edges against the pastry on the sides. Brush the pie top with the egg yolk, and make slits in the top of the pastry to allow any steam to escape out.