Convert UNSECURE_RANDOM_STRING to a byte string.

This fixes the case where the native encoding contains characters
outside of the ASCII range (0 <= c <= 127).
Merge pull request #473 from igetgames/fix/unsecure-random-byte-string

Convert UNSECURE_RANDOM_STRING to a byte string.