characters_to_binary doesn't always return a binary