Making cavities in an explosive or propulsive charge