FWIW, V8 will observe that the closure of `verifyPluginAtPath` does not contain any symbols in the containing function, and will hoist it. So, there's no performance implication here.

I prefer to nest helper functions inside the function to which they're relevant. That helps make it more clear what they pertain to. So, I'm going to leave this as is. :-)