Rewrite to let test-skeleton.c deal with creation and removal of the temp file.