[COOK-3246] Create subdirs when necessary

Some services, such as byobu have a directory structure (usually just a
`~/.byobu` ).  This commit allows for the creation of the directory if it
does not exist.