Add _directory function for fd-based ext4 filesystem creation

Allow an initializing directory to be specified in ext4 filesystem
creation where the target is specified as as an fd, to match
where it is given as a filename.

Bug: 25898323
Change-Id: I945c9554b885ab9f903fd2985ad4b73399304321
2 files changed