More unicode/bytes juggling

this time to untangle the situation with optparse since it appears to be
calling `str()` on option keys.
More text/binary stuff in configuration
More bytes/unicode battling