fixed message in FileSystemError
improved exception message
fixed test name
added FileSystem.pathKind()
refactored code to use FileSystem.pathKind() instead of pathExistsXxx()
removed legacy FileSystem.pathExistsXxx()