Fix stream.write() and server.emit() overrides to call the original methods with the correct this context

Contributed on behalf of Box Inc.