I noticed that remote-fileio.c uses a global for the fd cache. This could potentially interfere with multi-target. "remote_fio_data" should probably be moved to the remote target.
I have a fix.