nits: make fd errchk more conformant

Change-Id: I38babe4b3554bcd10bee0bb0f2f5516895544eea
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>