Added random number generator and fixed env.bat backup file

The env.bat backup would overwrite if it already existed so ran it
through the random number generator and now backups of the file should
be unique.

Added ApplyRandomSuffixToString routine