Minor tweaks

Shouldn't change any behavior, but I gofmt'd, used Fprintf instead of Sprintf, and used 'append' instead of StringVector.