An exact model of d.c. joule heating in amorphous metallic ribbons