Handle proc stat parsing of edge cases

Fix parsing of stat for processes with command names including
parenthesis or spaces.
Add shortcut to export number of open file descriptors