[schema2sql] encode string before passing it to md5 [applied]