Patched version of Angus Duggan's psutils