Tighten scope of variables within _dump(); move declarations closer to actual
use.

Avert one subroutine redefinition warning.