Update ListFiles.cpp

The call to scandir in ListFiles below expects noCurAndParDir to have a const arg. 
This fixes it.
Merge pull request #2 from larsr/patch-1

Update ListFiles.cpp