Replace path-related Errors with PathExceptions