Check return value of another fwrite.