only perform dir separator normalization for file paths