Show error instead of deleting file contents when gofmt fails.
Additions to previous fix.