Adding chmod and chgrp functions.

Signed-off-by: Vijaykumar Koppad <vijaykumar.koppad@gmail.com>