Fix a segfault in append_extra_args_ascii()

How that worked at all before was beyond me.

Signed-off-by: Peter Jones <pjones@redhat.com>
One more place we're not printing the error code.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add more error messages and better return codes.

Signed-off-by: Peter Jones <pjones@redhat.com>