use random sha for bin2pod, other small fixes