Robustness of delta hedging for path-dependent options in local volatility models