Fixed the chown method.