Use Errorf when using formatting directives.

Found by go vet.