Remove a warning "shadowing outer local variable - type"

Note
------
An reproducing example is net-sftp's test.
Specify ```$VERBOSE = true``` at top of test/test_all.rb