Resolves paths instead of just joining.