結果 : write file to temp directory python