Arthuryan/remove pup windows

@LeoCavaille 
For review purposes only. Not to be merged yet. 
If you import `os.path` as `osp` could you use that everywhere to be more consistent?