Runs go fmt.
Changes the meaning of the -out command line flag.

This now expects a directory path to store the generated file(s) in.
This was previously a path with file name. We now always use
the filename, inferred from the input path.