Support bytestring >= 0.9