Fix $core_exe of deleted executables

Kernel appends '(deleted)' to the /proc/<pid>/exe symlink target, we
have to cut it off.
Merge pull request #19 from xhaakon/master

Fix $core_exe of deleted executables