Fix #1077 : OSError problem in check_parallel_run() with unlinked pidfile.

+ changed except ',' syntax to "except .. as .." one.