Fix #34 prevent suicide

Avoid treating empty file as representing a pid of 0 (current process).