Fixed bug handling name collisions.  Also added code to allow for empty destination directory.
Fixed bug handling name collisions.  Also added code to allow for empty destination directory.

internetarchive/tnh,internetarchive/tnh,aaronbinns/tnh,aaronbinns/tnh