Root privileges dropping

It'd better to write:
```
os = platform.system()
if os == 'Windows':
…