helper function for converting Word160 into a network bytestring