50 cal rounds will punch through the metal skin of a B17 very easily. However, if you have ever been inside of a B17, you will see that there are many thick metal ribs all along the aircraft. There are ammo boxes, control cables, bulk heads, catwalks, radio equipment, oxygen tanks, seats, instrument panels, and (usually) humans inside. Once a round enters a B17, its not very likely that it will exit straight through. This is especially true for the wings (fuel tanks, ribs, engines, etc etc).