Change riak_log to include file descriptor
Fix case of partial buffer read in message size