Reader: URL encode the topic name to fix crash

Fixes #2427