Be more expliciti in our error messages if the tmpnam() call fails, or we have trouble opening the filename it returns. PR: Not a solution, but will help debug several