Added "ChechFolderPath"

Checks a path for ending with \, if it is missing, adds it.