reverts update made to mktemp calling site