fix minor formatting error
Add a call to write arbitrary amounts of the inferior's address space.
Fix error return values.

Should not be nil, or custom, or whatever in all of these cases...
they can happen, and it indicates that the inferior died before
the command was sent.