> BTW: The same is done when moving database file in DataStore.moveDatabase.

Yes, and this is error-prone already, as mentioned in the first item as #2380.

While I understand that the images can take a lot of space, how big are the databases we are talking about? I never clean my database, and it is less than 1MB.