Fix GoErrCheck and support passing an optional package

errcheck doesn't take a file path, it takes a package name. This pull request also allows changing that package by passing a parameter.