Update to be 13.10 compatible

In ejabberd 13.10 the String is already binary, calling list_to_binary throws badarg error