[commhistory-daemon] Get data dir from libcommhistory