pass boost::filesystem::path to createDirectories
merge