This is mainly for Coverity because fchown() can't take a negative value, which the -1 check implies is possible.