add FileUtils::getNormalizePath and use in getNewFilename

ok, i will test and fix it.