remove unused func in generate_manifest.go
replace file.Write() with fmt.Fprintf() in generate_manifest.go