This is slight adapted version of the code removed in commit
278a85f8ef9a90b1707ff6f66bd1a95155f93685. I believe it got lost
unintentionally in that commit as there are lots of places in current
codebase which relies on StandardDirs::saveDir() returning existing
directory (just check comments in those places!), e.g.:
- AkonadiServer::startDatabaseProcess()
- PartStreamer::PartStreamer
- StorageJanitor::verifyExternalParts()
- etc.