std.os.path.dirname: return null instead of empty slice

for when there is no directory component. Makes it harder
to write bugs.

closes #1017
6943cefebfAndrew Kelley committed on 6/14/2018, 8:15:32 PMparent2219cc0
5 files changedLine totals unavailable