workaround for rsync bug https://bugzilla.samba.org/show_bug.cgi?id=10995