Avoid problems if crypto.randomBytes throws.
Avoid problems if crypto.randomBytes throws.

[crypto.randomBytes](https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback) can throw an error if not enough entropy is available. This is probably very rare, but it might be an issue if this is run too soon after boot, and it makes sense to catch the error and try again.
klughammer/node-randomstring,prashantgupta24/node-randomstring,prashantgupta24/node-randomstring