add getUnixOrCygwinPath to File and Dir