suppress fwrite errors written to output