Stop fwrite abuse.