A method for measuring the low temperature thermal conductivity of thin wires