use '\0' as no-string rather than NULL

strlen(NULL) is undefined behaviour, which makes open_via_path(NULL,...)
crash on some systems.
so we now use a proper C-string
that only consists of the terminating 0-byte.

this should *really* close sf-bug #225