fix a bug of file leak
Merge branch 'master' into jieba3k