Standardize path normalization and exists checks