In a large saucepan over medium heat, melt the butter. Add the chopped apples, light brown sugar, lemon juice and cinnamon, and stir to combine.
Cover with a lid and cook covered over medium heat for about 5-6 minutes or until the apples are fork-tender (so that a fork easily passes through them) and they've released their juices.
Remove the pan from the heat. In a small bowl, mix together the cornstarch (US)/cornflour (UK) and water to create a cornstarch slurry.
Add it to the apples and stir well to combine. Return to the heat and cook for about 1 minute more, with constant stirring, until the apple juices have thickened.
Pour the apple filling into a bowl or deep plate, and set aside to cool. It needs to be cooled completely to room temperature before you start assembling the hand pies.
In a large bowl, whisk together the gluten free flour blend, sugar, xanthan gum and salt.
Add the cubed cold butter and toss it in the dry ingredients. Using your fingertips or a pastry cutter, work the butter into the dry ingredients until it's about the size of walnut halves.
Start adding the cold water, about 1 tablespoon at a time. After each addition, use your fingertips or a fork to toss the mixture around so that the flour gets evenly hydrated.
Continue adding the water and tossing the mixture until all the flour has been hydrated and the mixture starts clumping together in places. It might still look crumbly at this point.
Bring the pie dough together into a ball by giving it a gentle knead and pressing it against the sides of the bowl. Your dough won’t look perfectly smooth at this stage – it will look slightly “shaggy” and uneven, with a few cracks here or there. Be careful not to overwork it, as that can cause the butter to start melting due to the heat from your hands, which can reduce the flakiness of the final pastry.
Wrap the pie dough in plastic wrap/cling film, and chill it in the fridge for about 20-30 minutes.
On a lightly floured work surface, roll out the chilled pie dough into a long rectangle about ¼ inch (about 5-6mm) thin. The exact dimensions of the rectangle aren’t important, aim for a length that’s about three times the width.
First letter fold: Fold one third of the rectangle towards the centre and then fold the other third over it (as you would a letter).
Rotate the folded pastry by 90 degrees, so that the open ends point towards and away from you, and roll it out again into a long rectangle.
Second letter fold: Fold one third of the rectangle towards the centre and then fold the other third over it (as you would a letter).
Rotate the folded pastry by 90 degrees, so that the open ends point towards and away from you, and roll it out again into a long rectangle.
Third letter fold: Fold one third of the rectangle towards the centre and then fold the other third over it (as you would a letter).
Wrap the finished pie dough tightly in cling film/plastic wrap and chill it in the fridge for about 20-30 minutes before rolling it out and assembling the hand pies.
On a lightly floured surface, roll out the laminated pie dough until it's about 2-3mm (about ⅛ inch) thick. Chill in fridge for again 30 minutes.
Use a large round cookie cutter, roughly 5-5¼ inches (12-13cm) in diameter, to cut out as many circles as possible. Stack the cut-offs together and re-roll them, then cut out more circles, you should get 9-10 in total. (If the cut-offs are too warm and soft, you can stack them together, chill in the fridge for about 15 minutes and then re-roll them.)
Spoon about 1½-2 tablespoons of the cooled apple pie filling on one half of each circle, leaving about ½ inch (1cm) edge free of the filling. Egg wash the edges and fold the circle in half to enclose the filling. Lightly press along the edges to seal them together and use the tines of a fork to press down gently along the edge to create a fluted effect.
Place the assembled hand pies on a large baking sheet lined with parchment/baking paper, cover it tightly and freeze for at least 15 minutes or until the pie crust is firm/hard to the touch.
Adjust the oven rack to the middle position, pre-heat the oven to 400ºF (200ºC) and line a large baking sheet with parchment/baking paper.
Arrange the frozen hand pies on the lined baking sheet, spacing them apart as much as possible. Cut two slits on top of each hand pie, egg wash the tops and sprinkle with granulated sugar.
Bake at 200ºC for about 25-30 minutes or until the hand pies are deep golden brown.
Allow them to cool on the baking sheet for 5 minutes, then transfer to a wire rack. Serve warm or cooled completely to room temperature.