makedirs(), removedirs():  If the tail of the path is empty, do a second
	split so the logic does not fail in corner cases.

This closes bug #407.
1 file changed