Path::write() + a convenience mkdir()