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

...Werror, this causes compile failures.

Related to #373