use filepath for filesystem related path operations
rename the session file for windows naming check
Merge pull request #179 from SlimYang/master

modify filesystem related path and sessionFile naming for its usage in windows.