[libc][Obvious] Fix use of `fwrite` in the RPC server

Summary:
The RPC server used the size field which meant we didn't get the correct
return value for partial reads. We fix that here.
GitOrigin-RevId: a42c1f8d9734b732685f91e5e933d6cf8482c708
2 files changed