Fixes a change detection bug and makes it mostly compatible with OSX rsync (v2.6.9)