Patch for RandomString bug in which counts of 0 or negative counts would cause array exceptions. Submitted by: ville.skytta@iki.fi (Ville Skytt�)