Wrap hosts in brackets for synchronize.

In case the host is an IPv6 address, rsync needs brackets to
correctly interpret the colon characters. Wrap the hosts in
so that IPv6 addresses can be used with synchronize. This appears
to be harmless for IPv4 addresses.

I've tested this on my own IPv4 and IPv6 hosts. This should fix issue 8211.