bookmarks: properly invalidate volatile sets when writing bookmarks
This corrects a regression introduced during the 3.7 cycle, but which
went undetected due to the surviving-but-deprecated write() method on
bmstore.
#require docutils gettext $ $TESTDIR/check-gendoc pt_BR checking for parse errors