fix bin8 subarray bug; return Uint8Array for ease of use