Don't ignore the result of fwrite. Since we're building with -Wall and -...

...Werror, this causes compile failures.

We could also exit if we find an error here, this fix is just to get rid of the unused-result warning.