createpath fixes win