Yarn producer Unifi saw its losses narrow in the company's fiscal second quarter, despite incurring charges related to the restructuring of the business.