more special case for path('',...)
add Win32 test and cleanup