Improve tmpnam(), implement tmpfile()

Also update binaries