finish tempfiles

Signed-off-by: zhouyou <zhouyoug@gmail.com>