A new model for the resistance anomaly in mesoscopic superconducting wires