Make some args const

Make the args passed to FileExists() and DirectoryExists() const.