Added verification checks to dir and file modify.

Verification for these is somewhat more complicated. Includes a conversion
in these modules to create synthetic actions and invoke them rather than
attempting to perform chowns and chmods directly on directory contents.