This is to allow the steam to escape so the pastry crust doesn't puff up and lose shape and structure. It's common practice when blinding baking a crust, but it also works in recipes like this one, that doesn't require an initial bake.