Fixing issue where we would create a file w/ empty name.

Darn base cases! :-)