fixed z85 encoding overflow bug, fixed signature code on big-endian systems.