Add an option to format generated file with gofmt.