check that /dev/urandom is indeed a character device