The International Monetary Fund says debt-ridden countries are "playing with fire" unless debt is reduced.