fix the code error

path.split('/').join(os.sep): list hat no attr:join
Merge pull request #336 from atupal/patch-1

fix the code error