fix evbuffer add file warning when file size is zero