Fix stupid bug caused by leaving the path string as non-NULL terminated on initialization.

This failed visibly when the allocated buffer did not already
lead with \0.
Merge branch 'macosx-process-info' into fix-macosx