Merge "Reduce stack usage of tmpfile(3)."