The egg wash helps the pastry stick to each other and prevents it from leaking. Alternatively, crimping the edges of the turnover with a fork also has the same effect.