Fix a changed check bug that made it not fix the files.

Removed the .temp files, it is not needed. The user should use a proper SCM.
Rename flag variables to make them more obvious.
Improve verbose logging.
Refactor code to be more readable.
Consistently call gofmt -w only on the files actually modified.