writeWithDirs

void
writeWithDirs
(
string path
,
string contents
)