Preheat oven to 375°F (190°C).
In a bowl mix cherries, sugar, cornstarch, lemon juice, vanilla extract, and almond extract.
Roll out one pie crust and place it into a 9-inch pie dish.
Pour the cherry filling into the crust and dot the top with butter pieces.
Cover with the second pie crust and seal the edges.
Cut small slits on top to allow steam to escape.
Brush the crust with beaten egg and sprinkle sugar on top.
Bake for 40–45 minutes until the crust is golden brown and filling is bubbling.
Let the pie cool for at least 2 hours before slicing.