add internal __getdcwd function to LFN library