Fix a helper IOStub when calling IOStub#puts without arguments

This commit keeps calling self.write.
Not directly self << "\n".