Fixed bug in UnarchiveCommand that caused files in the root directory of an archive
to be created as folders.