Add a callback for improper filetypes (e.g. sockets).
Add a callback for improper filetypes (e.g. sockets).

Pass all the parameters into the recursive copytree!

Ticket: #21500

freenas/py-bsd,freenas/py-bsd