create-test-api-docs: Remove unhelpful exception handler.
create-test-api-docs: Remove unhelpful exception handler.

encode returns bytes, which cannot possibly be written to a text file.

Signed-off-by: Anders Kaseorg <dfdb7392591db597bc41cf266a9c3bc12a2706e5@zulip.com>

kou/zulip,rht/zulip,andersk/zulip,eeshangarg/zulip,hackerkid/zulip,punchagan/zulip,rht/zulip,kou/zulip,showell/zulip,kou/zulip,zulip/zulip,rht/zulip,andersk/zulip,hackerkid/zulip,eeshangarg/zulip,andersk/zulip,hackerkid/zulip,kou/zulip,showell/zulip,showell/zulip,punchagan/zulip,hackerkid/zulip,hackerkid/zulip,eeshangarg/zulip,rht/zulip,rht/zulip,punchagan/zulip,showell/zulip,zulip/zulip,andersk/zulip,showell/zulip,andersk/zulip,eeshangarg/zulip,andersk/zulip,eeshangarg/zulip,zulip/zulip,zulip/zulip,hackerkid/zulip,kou/zulip,zulip/zulip,rht/zulip,kou/zulip,punchagan/zulip,zulip/zulip,rht/zulip,punchagan/zulip,zulip/zulip,eeshangarg/zulip,hackerkid/zulip,showell/zulip,kou/zulip,punchagan/zulip,showell/zulip,punchagan/zulip,eeshangarg/zulip,andersk/zulip