new pathExists using stat, fixes #11
merge