Update configfile.cpp

Fix of a mistake, making it impossible to use config file in current dir.
Merge pull request #589 from yglukhov/patch-1

Update configfile.cpp