Stop leaking internal library pointers in error messages.

Requested by miod@
Improve RAND_write_file(), chmod crud, etc.
ok tedu
whitespace