Simplification to sub gethostname( --> Str)

All we're getting is a single string, so we don't need all the
complication of S29's gethost.