To make the filling: Mash the blackberries and sugar together in a medium saucepan with a pastry blender or a fork. Cook over medium heat, stirring occasionally, until the berries begin to release their juices. Stir in the cornstarch, bring to a boil over medium-high heat, stirring constantly, and boil for 1 minute. Pour the purée through a coarse strainer set over a small bowl, pressing hard on the solids to extract as much liquid as possible. Refrigerate, tightly covered, until thoroughly chilled.