Use b64encode to fix "?" encoding

This refs collective/collective.geotransform#1