Common 'make-random-string' function between clj and cljs.