In the member function CCD::ExposureCompletePrivate of indiccd.cpp, there is code to save image data to the terminal where the indi ccd driver is running in case of Save Remotely.
If KStars is running on Windows and indi ccd driver is running on Raspi, indi ccd driver saves image data directly to Raspi in Save Remotely. The image data does not go through the network.