Two simple fixes

Hi, Mister.

Well, here are two really small fixes.

One fixes that issue when trying to create a config file with no config folder.
Another fixes a problem I found in the default configuration file, which contains 'sqlite:' as URI and it should be 'sqlite://' as per my understanding.

Regards.