This hunk needs to be like it was in the original.  The zfs send -R is not unsafe in this script -- we know it is safe because we compute ahead of time every change, and we only produce a send_recursive when it would strictly succeed, thus we only use zfs send -R when it's strictly going to succeed and not destroy any data, and it's an important performance optimization.

See optimize_recursivize() function for more information.