Ah, entonces es por esta linea:
Código PHP:
$archivo= $_FILES['archivos']['name'];
Se te olvido el [$i].
Código PHP:
$archivo= $_FILES['archivos']['name'][$i];
Por eso NUNCA TOMABA LA EXTENSION.
Espero haber sido lo suficiente "agil de mente" para haberte ayudado.