Fix a bug on Module.to_binary(Elixir), closes #920