Add Dir class function "rename"