Fixes #8216. Make sure that if the remote salt-ssh user is root, then files untarred by the shim are owned by root.