Update SamanageImporter.cs

added do while loops instead of if then to make sure there can never be a collision of duplicate file names, it will just keep increment the file name by 1 until it sees that conflicting asset doesn't exist.  

Added the GetRandomFileName() function before the XML is processed, so that field could be added in to the Asset Name, so it wouldn't fail importing.