mod_base: fix to let urlencode handle iolists as input.
This can happen when used in combination with a {% filter urlencode %}...{% endfilter %} block.