fix partials resolution when partial name already ends with extension