Minor ByteString fixes and enhancements