[server] Fix a bug in recvfs-proc.

pending_objects should be decreased after the object is written
into disk.