You can try replacing the gum-free gluten free flour blend the cooked pie filling calls for with cornstarch. However, when a custard made with cornstarch cools, it tends to weep, or leak liquid.