fix: allow module files with // comments at the end

This plugin wraps each module's content in a function call and does so without new lines (to preserve line numbers). But this mechanism will fail if module content ends with `// some comment` as it will result in `// some comment }` in a wrapped file, breaking the wrapping function.

The solution is to use a line break (OS-dependent) before the closing wrapping bracket. This shouldn't mess up line numbers as we are talking about the end of the original file here.
Merge pull request #5 from pkozlowski-opensource/patch-2

fix: allow module files with // comments at the end