Mention the database dump/importxml duties when upgrading in Changelog.
Database create/open handling rethinked.

Don't write the newly created database, just mark it dirty.
'newdb' to explicitly distinguish a newly created database, and don't do
stat() magic... Only create a new initial XML document, if it was really
a new database creation.
Fix db-create regression test after recent changes in db file creation.