restored compatibility with bytestring==0.9.*

We're using the builder from binary and a couple of missing convenience
functions have been worked around.
some minor cleanup