Use rand() instead of /dev/urandom to make test files.