Error messages from `check_permission` can be utf-8, so use `unicode` module instead of `list_to_binary`.
Merge pull request #874 from basho/jrd-security-unicode

Fix list_to_binary invocations on permissions errors