pass dump options as PN string, not char*

also export dumpbc method