Change owner+group before setting xattrs to avoid xattr loss.
Fixes bug 10163.
1 file changed