error checking for randomizing virtualdocs

If glastopf can't open the files for some reason, it just avoids trying to randomize them.