Update mcd.erl

do not applicate binary with term_to_binary