Fix list_to_binary invocations on permissions errors

Change to `unicode:characters_to_binary`. This is required if the forthcoming `riak_core` PR is accepted, but is recommended even if not.

/cc @Vagabond