Bug #1721: Add extra check, if $DST is not directory, prevent renaming
(cherry picked from commit 27877254f1ef646de0a4050898b3bd2a09159cac)

Conflicts:
	src/datastore_mad/remotes/vmware/cp