Torsion-free rank one sheaves on a semi-stable curve