A simple method for measuring the low temperature thermal conductivity in thin wires