Detect default hostname with correct encoding.

The returned value of Socket.gethostname can be ascii-8bit,
and the droonga-engine-configure command unexpectedly outputs it as a binary value.
Revert needless changes around conversion of default value