Fix validation a little bit for dota 2 directory strings.

Just bringing this change into the right branch.