Fixed some str2bin() problems.