add support for setting owner (UID), group (GID), and filemode