fs: PR-fix. Instantiate Stats object in C++.

As suggested by @trevnorris instantiate the Stats object in C++ using
->NewInstance. This simplifies the code - the createStatsObject function
that was introduced in the previous commit can be removed.