Bayern Munich beat Paris-Saint Germain 3-1 in the International Champions Cup to get their pre-season campaign off to the perfect start.