Access /proc/self rather than using getpid().
Merge pull request #667 from dylan-lang/simplify-proc-access

Access /proc/self rather than using getpid().