Merge pull request #4 from amscanne/master

Fix collectd locking issues.
Remove .pyc files when uninstalling packages.
Merge pull request #5 from rmahmood/master

Delete generated .pyc files when removing packages.
Harmonize dirty reporting
Merge pull request #6 from andreslagarcavilla/fixdirty

Harmonize dirty reporting
Always ensure we exit post-fork (errors during upgrade).