Replaced /etc/HOSTNAME using cross platform /etc/hostname

bnc#858908