Heat oven to 400 degrees F. Coat a large baking sheet with nonstick cooking spray. In a large bowl, blend pie crust mix and 1/2 teaspoon of the allspice to evenly distribute. Add 1 teaspoon of the rum extract and 1/3 cup cold water. Mix with a fork until a dough comes together. Roll out dough to a 14-inch circle. Roll up onto rolling pin and transfer to prepared baking sheet.
In a large bowl, combine pear pieces, remaining 1 teaspoon extract, remaining 1/8 teaspoon allspice, the golden raisins and the sugar. Sprinkle with the flour and the nutmeg and stir gently to combine.
Pile into center of pie crust, leaving a 2-1/2-inch border. Fold up two opposite sides, then remaining two sides to form a square, about 9 inches on each side. Pinch dough together at seams, then brush dough with lightly beaten egg.
Bake at 400 degrees F for 30 minutes, until filling is slightly bubbly and crust is browned. Cool slightly on pan, then cut into 2-1/4-inch squares and serve warm with ice cream, if desired.