Clean up /proc/PID/stat parsing