Void out unused return value from fwrite() to avoid compiler warnings.