Set deleteFolderOnDelete option