BF(TST): mkstemp opens a file. if we are to use the name only -- must close first

otherwise exotic platforms like Windows would scream out loud:
http://nipy.bic.berkeley.edu/builders/pymvpa-py2.6-xp/builds/12/steps/shell_3/logs/stdio