fix some writing bugs for chown.1