Fix MD5 encoding issue