when reading from a /dev/random file, get bytes from the shadow random source instead of directly reading from the system file