bug fix: rsync fails on no wr perm on parent dir

rsync would fail if you don't have write permission on the parent directory of
a file, even if you have write permission on the file itself.