remove unneded module, fixes errors on default Python installation

At least on Windows, pwd module is not installed by default. And it is actually not needed.
So I hope this line could be safely removed.