pass bytes written to onWrite, it simultaneously more informative and fixes a compiler warning in OSX
pass bytes written to onWrite, it simultaneously more informative and fixes a compiler warning in OSX

jvkops/titanium_desktop,wyrover/titanium_desktop,wyrover/titanium_desktop,appcelerator/titanium_desktop,wyrover/titanium_desktop,appcelerator/titanium_desktop,wyrover/titanium_desktop,jvkops/titanium_desktop,wyrover/titanium_desktop,jvkops/titanium_desktop,wyrover/titanium_desktop,appcelerator/titanium_desktop,jvkops/titanium_desktop,appcelerator/titanium_desktop,jvkops/titanium_desktop,appcelerator/titanium_desktop,jvkops/titanium_desktop