Fix NUL-term bug in unparsehash.