fix create folder before write info file
tests loosen the ttl checking
Merge pull request #309 from xiangli-cmu/master

fix create folder before write info file