Modified chown/chmod to not follow symlink.

Enable symlink to not follow target file if "-h" option is
provided.

Change-Id: I375d6ec3f5f94198707aa7b8107545534460c821
CRs-fixed: 545883
Merge "Modified chown/chmod to not follow symlink."