Origin of the Avalanche-Like Photoluminescence from Metallic Nanowires