Bug Fixes

`os.path.exists(path)` return `True` when the path is a file or directory.