Provide better sethostname error message

This tries to add a marginally better error message including the hostname when the syscall fails. 

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
%q works with strings?