Fixing transfer bug - don't delete root directory if *.transfer file ends there