fixes #36: add urandom function definition for python 2.3 compat