To convert dump-string and binary mutually