When the Zope server shutdown, the close() function is never called on its database. As a consequence, the index file of "ZODB.FileStorage.FileStorage"'s is not rebuilt.
There's indeed no explicit call to the database on shutdown. I'm not sure who's responsibility it is to call close, though.
The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.
Bug watches keep track of this bug in other bug trackers.
There's indeed no explicit call to the database on shutdown. I'm not sure who's responsibility it is to call close, though.