Preserve top-level IOs of top module.
Produce same console output as master.
Merge pull request #217 from ucb-bar/preserve_ios

Preserve top-level module IOs in C++ backend output