normalize loaded resource paths