fixed skeleton generation on windows

use proper temporary file name