db/upnp/Directory: apply coding style
db/upnp/Directory: TitleToPathSegment() returns rvalue reference

Eliminate one implicit std::string copy.