bookmarks: Only save undo.bookmarks if bookmarks exist
Otherwise the command will abort when there is no .hg/bookmarks file.
% should failabort: path contains illegal component: .hg/00changelog.iadding a/a% should failabort: path 'b/b' traverses symbolic link 'b'% should succeed% should still fail - maybeabort: path 'b/b' traverses symbolic link 'b'