Make sure creating the temporary file was successful.