Fixed paths for Windows

Always use os.path for manipulating file paths. Avoid string
manipulations with explicit slashes