Fix the conversion of Uint32 arrays to Uint8 arrays