move c++ implementation of haxe.io.Bytes to a target-specific module