fix file path bug for cygwin