fix progress for foreign arch packages
improve progress-fd test to cover upgrade/remove
refactor, use strings more