Honestly, where I'd draw the distinction between a database and a datastore is the ability to do multi-statement transactions.
So, a filesystem? A datastore. Some support fsync on a single file, but multi-file sync isn't usually supported.
MongoDB and LevelDB both support transactions, so I'd err on calling them databases myself.