Issue #15: Force checkiid script to use tempfile.TemporaryFile() to write output for tests, so that when the file object is closed, the temporary file is deleted from the file system.