Replaced mkstemp by mkstemps from libiberty.
Removed a couple of unnecessary portability functions.

15 files changed