Yarn maker Unifi has booked a mixed set of second-quarter results with soaring earnings but a fall in sales.