database: create directory path for ring.db
database: create directory path for ring.db

On Windows, database file creation fails if any folders of its path
isn't already existing. This small patch ensures this is done before
attempting to open ring.db

Change-Id: I545a7b4ac0015a62a4e36553df997e7d229243a5
Reviewed-by: Sébastien Blin <f62e5ae00f242ff12e734dcacd29cad110ca59cf@savoirfairelinux.com>

savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc