Python version of my clean-home shell script.