Use the correct _write method with unicode content

There are places where the code was referring to a non-existant
self._out.write method instead of self._write. This corrects that, which
allows us to instantiate the Salesforce library in onshift-core.