make sure we call the right function to sanitize IDNs

in the bookie plugin, some code was too quickly copy-pasted and never tested

this probably never worked, but should work now