BUGFIX: They might be functions

Commit 585a2eb0c488dec1a146e665963a617eb9bfc754 changed the code assuming name, cmdline and exe are functions and not attributes of process. On my system (Ubuntu 14.04 and Python 2.7.6) they are attributes. If that is varying then I think it would be good to allow both.