Fix psutil process.name calls on different operating systems