Fix verify-boilerplate

The old verify boilerplate did not determine file extension correctly.
In addition, it did not ignore files that we have as a go dependency.
Updated script and confirmed its behavior by flagging these modified files and added required boilerplate.
here, too.