@xiangli-cmu Try using [ioutil.WriteFile()](http://golang.org/pkg/io/ioutil/#WriteFile). It's a little bit cleaner.