Fixed ByteArray to work with empty data on neko.