removed call to os.tmpDir