Make everything work with bytestring < 0.10.