Fix deprecation warnings.

Drop psutil < 2.0 leftovers.