Fix bugs in Windows

https://github.com/tkf/emacs-jedi/issues/148
https://github.com/tkf/emacs-jedi/pull/152