Client: size_t -> int to refix sending file contents