improved winpath2unix checks