One of the best ways to prevent the filling from oozing out is to use a thicker filling that is less likely to leak, such as cream cheese or Nutella. Don't forget to crimp the edges of the bread together tightly to seal in that filling as well.