Convert io.chunkR and io.fileChunkR to ByteVector