Replace deprecated term_to_binary with :erlang.term_to_binary
Merge pull request #169 from drueck/term-to-binary

Replace deprecated term_to_binary with :erlang.term_to_binary