On the effective action of confining strings