By the time you've implemented even a basic key-value store with on-disk storage you've probably written a bunch of code that would be unnecessary if you had used SQLite.
People choose NoSQL databases primarily for scaling reasons, which is not the problem here.