m::N with module sentence returns its name

The module sentence registers its ID.
In this case, the module knows that it is called as "N" and its outer module.
3rd argument of IO.new is 1.9.3 or later
CRuby r39628 added Singleton class to ancestors [Feature #8035]