impute slashes properly for absolute path comparison