Add CreateParentDirectory

Useful for making sure a directory and the underlying path exist.