I find an alternative way to convert bin books to pgn.
With polyglot-tolerant there is an option to dump a bin book.
This creates a text file like 'book_black.text'
If you change this extension to pgn, you can open this pgn with the software ChessX.
And in ChessX, you can export this pgn database to a new pgn database to normalize the pgn.
The result is not perfect but it looks pretty good.
So thanks to the developers of ChessX, to make this possible.
Does someone know a better ways to convert a bin book to pgn? I want to do this for creating repertoires for over the board games.