Update ListFiles.cpp

The call to scandir in ListFiles below expects noCurAndParDir to have a const arg. 
This fixes it.