Prefer os.urandom to PyCrypto's PRNG

Change-Id: Ied7b8ba13d577c010ab75bdd8035c372c25f9d90